home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / DRIVER.CAB / hp4050_7.ppd < prev    next >
Encoding:
PostScript Printer Description  |  1999-05-14  |  45.9 KB  |  1,148 lines

  1. *PPD-Adobe: "4.3"
  2. *% =======================================================
  3. *% Printer Description File
  4. *% Copyright 1992-99 Hewlett-Packard Company
  5. *%========================================================
  6. *% PPD for HP LaserJet 4050 Series
  7. *% For Windows NT 5.0
  8. *%====================================================================
  9. *% === PPD File Version Information ====
  10. *FileVersion:      "1.01"
  11. *FormatVersion:    "4.3"
  12. *LanguageEncoding: ISOLatin1
  13. *LanguageVersion:  English
  14. *PCFileName:       "HP4050_7.PPD"
  15.  
  16. *% === Product Version Information ====
  17. *ModelName:     "HP LaserJet 4050 Series "
  18. *ShortNickName: "HP LaserJet 4050 Series PS"
  19. *NickName:      "HP LaserJet 4050 Series PS"
  20. *Product:       "(HP LaserJet 4050 Series )"
  21. *Manufacturer:  "HP"
  22. *PSVersion:     "(2014.108) 1"
  23.  
  24. *%=== Device Capabilities ==================
  25. *ColorDevice:       False
  26. *DefaultColorSpace: Gray
  27. *FileSystem:        True
  28. *?FileSystem: "
  29.    save 
  30.      false
  31.      (%disk?%)
  32.      { currentdevparams dup /Writeable known
  33.         { /Writeable get {pop true} if }  { pop } ifelse
  34.      } 100 string /IODevice resourceforall
  35.      {(True)}{(False)} ifelse = flush
  36.    restore
  37. "
  38. *End
  39.  
  40. *LanguageLevel: "2"
  41. *Throughput:    "17"
  42. *TTRasterizer:  Type42
  43. *?TTRasterizer: "
  44.    save
  45.       42 /FontType resourcestatus
  46.       { pop pop (Type42)} {pop pop (None)} ifelse = flush
  47.    restore
  48. "
  49. *End
  50.  
  51. *%=== Emulations and Protocols =============
  52. *Protocols: PJL TBCP
  53.  
  54. *SuggestedJobTimeout:  "0"
  55. *SuggestedWaitTimeout: "120"
  56.  
  57. *PrintPSErrors: True
  58.  
  59. *%=== Proof and Hold =======================
  60. *JCLOpenUI *JCLRetention/Job Retention: PickOne
  61. *OrderDependency: 14 JCLSetup *JCLRetention
  62. *DefaultJCLRetention: JCLRetentionOff
  63. *JCLRetention JCLRetentionOff/Off: ""
  64. *JCLRetention JCLRetentionQuickCopy/Quick Copy: "@PJL SET HOLD = ON<0A>"
  65. *JCLRetention JCLRetentionProof/Proof and Hold: "@PJL SET HOLD = PROOF<0A>"
  66. *JCLRetention JCLRetentionPrivate/Private Job: "@PJL SET HOLD = ON<0A>@PJL SET HOLDTYPE = PRIVATE<0A>"
  67. *JCLRetention JCLRetentionStore/Stored Job: "@PJL SET HOLD = STORE<0A>"
  68. *JCLCloseUI: *JCLRetention
  69.  
  70. *UIConstraints: *Option4 False *JCLRetention JCLRetentionQuickCopy
  71. *UIConstraints: *Option4 False *JCLRetention JCLRetentionProof
  72. *UIConstraints: *Option4 False *JCLRetention JCLRetentionPrivate
  73. *UIConstraints: *Option4 False *JCLRetention JCLRetentionStore
  74.  
  75. *JCLOpenUI *JCLUser/User: PickOne
  76. *OrderDependency: 15 JCLSetup *JCLUser
  77. *DefaultJCLUser: UserSystem
  78. *JCLUser UserSystem/System Name (if available): ""
  79. *JCLUser User1/ 1: "@PJL SET USERNAME = <22> 1<220A>"
  80. *JCLUser User2/ 2: "@PJL SET USERNAME = <22> 2<220A>"
  81. *JCLUser User3/ 3: "@PJL SET USERNAME = <22> 3<220A>"
  82. *JCLUser User4/ 4: "@PJL SET USERNAME = <22> 4<220A>"
  83. *JCLUser User5/ 5: "@PJL SET USERNAME = <22> 5<220A>"
  84. *JCLUser User6/ 6: "@PJL SET USERNAME = <22> 6<220A>"
  85. *JCLUser User7/ 7: "@PJL SET USERNAME = <22> 7<220A>"
  86. *JCLUser User8/ 8: "@PJL SET USERNAME = <22> 8<220A>"
  87. *JCLUser User9/ 9: "@PJL SET USERNAME = <22> 9<220A>"
  88. *JCLUser User10/10: "@PJL SET USERNAME = <22>10<220A>"
  89. *JCLUser User11/11: "@PJL SET USERNAME = <22>11<220A>"
  90. *JCLUser User12/12: "@PJL SET USERNAME = <22>12<220A>"
  91. *JCLUser User13/13: "@PJL SET USERNAME = <22>13<220A>"
  92. *JCLUser User14/14: "@PJL SET USERNAME = <22>14<220A>"
  93. *JCLUser User15/15: "@PJL SET USERNAME = <22>15<220A>"
  94. *JCLUser User16/16: "@PJL SET USERNAME = <22>16<220A>"
  95. *JCLUser User17/17: "@PJL SET USERNAME = <22>17<220A>"
  96. *JCLUser User18/18: "@PJL SET USERNAME = <22>18<220A>"
  97. *JCLUser User19/19: "@PJL SET USERNAME = <22>19<220A>"
  98. *JCLUser User20/20: "@PJL SET USERNAME = <22>20<220A>"
  99. *JCLUser User21/21: "@PJL SET USERNAME = <22>21<220A>"
  100. *JCLUser User22/22: "@PJL SET USERNAME = <22>22<220A>"
  101. *JCLUser User23/23: "@PJL SET USERNAME = <22>23<220A>"
  102. *JCLUser User24/24: "@PJL SET USERNAME = <22>24<220A>"
  103. *JCLUser User25/25: "@PJL SET USERNAME = <22>25<220A>"
  104. *JCLUser User26/26: "@PJL SET USERNAME = <22>26<220A>"
  105. *JCLUser User27/27: "@PJL SET USERNAME = <22>27<220A>"
  106. *JCLUser User28/28: "@PJL SET USERNAME = <22>28<220A>"
  107. *JCLUser User29/29: "@PJL SET USERNAME = <22>29<220A>"
  108. *JCLUser User30/30: "@PJL SET USERNAME = <22>30<220A>"
  109. *JCLUser User31/31: "@PJL SET USERNAME = <22>31<220A>"
  110. *JCLUser User32/32: "@PJL SET USERNAME = <22>32<220A>"
  111. *JCLUser User33/33: "@PJL SET USERNAME = <22>33<220A>"
  112. *JCLUser User34/34: "@PJL SET USERNAME = <22>34<220A>"
  113. *JCLUser User35/35: "@PJL SET USERNAME = <22>35<220A>"
  114. *JCLUser User36/36: "@PJL SET USERNAME = <22>36<220A>"
  115. *JCLUser User37/37: "@PJL SET USERNAME = <22>37<220A>"
  116. *JCLUser User38/38: "@PJL SET USERNAME = <22>38<220A>"
  117. *JCLUser User39/39: "@PJL SET USERNAME = <22>39<220A>"
  118. *JCLUser User40/40: "@PJL SET USERNAME = <22>40<220A>"
  119. *JCLUser User41/41: "@PJL SET USERNAME = <22>41<220A>"
  120. *JCLUser User42/42: "@PJL SET USERNAME = <22>42<220A>"
  121. *JCLUser User43/43: "@PJL SET USERNAME = <22>43<220A>"
  122. *JCLUser User44/44: "@PJL SET USERNAME = <22>44<220A>"
  123. *JCLUser User45/45: "@PJL SET USERNAME = <22>45<220A>"
  124. *JCLUser User46/46: "@PJL SET USERNAME = <22>46<220A>"
  125. *JCLUser User47/47: "@PJL SET USERNAME = <22>47<220A>"
  126. *JCLUser User48/48: "@PJL SET USERNAME = <22>48<220A>"
  127. *JCLUser User49/49: "@PJL SET USERNAME = <22>49<220A>"
  128. *JCLUser User50/50: "@PJL SET USERNAME = <22>50<220A>"
  129. *JCLCloseUI: *JCLUser
  130.  
  131. *JCLOpenUI *JCLHoldKey/PIN (for Private Job): PickOne
  132. *OrderDependency: 20 JCLSetup *JCLHoldKey
  133. *DefaultJCLHoldKey: HoldKeyNone
  134. *JCLHoldKey HoldKeyNone/None: ""
  135. *JCLHoldKey HoldKey0067/0067: "@PJL SET HOLDKEY = <22>0067<220A>"
  136. *JCLHoldKey HoldKey0089/0089: "@PJL SET HOLDKEY = <22>0089<220A>"
  137. *JCLHoldKey HoldKey0403/0403: "@PJL SET HOLDKEY = <22>0403<220A>"
  138. *JCLHoldKey HoldKey0989/0989: "@PJL SET HOLDKEY = <22>0989<220A>"
  139. *JCLHoldKey HoldKey1073/1073: "@PJL SET HOLDKEY = <22>1073<220A>"
  140. *JCLHoldKey HoldKey1100/1100: "@PJL SET HOLDKEY = <22>1100<220A>"
  141. *JCLHoldKey HoldKey1117/1117: "@PJL SET HOLDKEY = <22>1117<220A>"
  142. *JCLHoldKey HoldKey1299/1299: "@PJL SET HOLDKEY = <22>1299<220A>"
  143. *JCLHoldKey HoldKey1362/1362: "@PJL SET HOLDKEY = <22>1362<220A>"
  144. *JCLHoldKey HoldKey1465/1465: "@PJL SET HOLDKEY = <22>1465<220A>"
  145. *JCLHoldKey HoldKey1518/1518: "@PJL SET HOLDKEY = <22>1518<220A>"
  146. *JCLHoldKey HoldKey1636/1636: "@PJL SET HOLDKEY = <22>1636<220A>"
  147. *JCLHoldKey HoldKey2065/2065: "@PJL SET HOLDKEY = <22>2065<220A>"
  148. *JCLHoldKey HoldKey2080/2080: "@PJL SET HOLDKEY = <22>2080<220A>"
  149. *JCLHoldKey HoldKey2213/2213: "@PJL SET HOLDKEY = <22>2213<220A>"
  150. *JCLHoldKey HoldKey2226/2226: "@PJL SET HOLDKEY = <22>2226<220A>"
  151. *JCLHoldKey HoldKey2377/2377: "@PJL SET HOLDKEY = <22>2377<220A>"
  152. *JCLHoldKey HoldKey2400/2400: "@PJL SET HOLDKEY = <22>2400<220A>"
  153. *JCLHoldKey HoldKey2486/2486: "@PJL SET HOLDKEY = <22>2486<220A>"
  154. *JCLHoldKey HoldKey2846/2846: "@PJL SET HOLDKEY = <22>2846<220A>"
  155. *JCLHoldKey HoldKey2951/2951: "@PJL SET HOLDKEY = <22>2951<220A>"
  156. *JCLHoldKey HoldKey3246/3246: "@PJL SET HOLDKEY = <22>3246<220A>"
  157. *JCLHoldKey HoldKey3429/3429: "@PJL SET HOLDKEY = <22>3429<220A>"
  158. *JCLHoldKey HoldKey3559/3559: "@PJL SET HOLDKEY = <22>3559<220A>"
  159. *JCLHoldKey HoldKey3767/3767: "@PJL SET HOLDKEY = <22>3767<220A>"
  160. *JCLHoldKey HoldKey4114/4114: "@PJL SET HOLDKEY = <22>4114<220A>"
  161. *JCLHoldKey HoldKey4447/4447: "@PJL SET HOLDKEY = <22>4447<220A>"
  162. *JCLHoldKey HoldKey4743/4743: "@PJL SET HOLDKEY = <22>4743<220A>"
  163. *JCLHoldKey HoldKey4757/4757: "@PJL SET HOLDKEY = <22>4757<220A>"
  164. *JCLHoldKey HoldKey5161/5161: "@PJL SET HOLDKEY = <22>5161<220A>"
  165. *JCLHoldKey HoldKey5200/5200: "@PJL SET HOLDKEY = <22>5200<220A>"
  166. *JCLHoldKey HoldKey5333/5333: "@PJL SET HOLDKEY = <22>5333<220A>"
  167. *JCLHoldKey HoldKey5696/5696: "@PJL SET HOLDKEY = <22>5696<220A>"
  168. *JCLHoldKey HoldKey5952/5952: "@PJL SET HOLDKEY = <22>5952<220A>"
  169. *JCLHoldKey HoldKey5975/5975: "@PJL SET HOLDKEY = <22>5975<220A>"
  170. *JCLHoldKey HoldKey6250/6250: "@PJL SET HOLDKEY = <22>6250<220A>"
  171. *JCLHoldKey HoldKey6582/6582: "@PJL SET HOLDKEY = <22>6582<220A>"
  172. *JCLHoldKey HoldKey7286/7286: "@PJL SET HOLDKEY = <22>7286<220A>"
  173. *JCLHoldKey HoldKey7846/7846: "@PJL SET HOLDKEY = <22>7846<220A>"
  174. *JCLHoldKey HoldKey7921/7921: "@PJL SET HOLDKEY = <22>7921<220A>"
  175. *JCLHoldKey HoldKey8455/8455: "@PJL SET HOLDKEY = <22>8455<220A>"
  176. *JCLHoldKey HoldKey8509/8509: "@PJL SET HOLDKEY = <22>8509<220A>"
  177. *JCLHoldKey HoldKey8601/8601: "@PJL SET HOLDKEY = <22>8601<220A>"
  178. *JCLHoldKey HoldKey8643/8643: "@PJL SET HOLDKEY = <22>8643<220A>"
  179. *JCLHoldKey HoldKey8865/8865: "@PJL SET HOLDKEY = <22>8865<220A>"
  180. *JCLHoldKey HoldKey8941/8941: "@PJL SET HOLDKEY = <22>8941<220A>"
  181. *JCLHoldKey HoldKey9531/9531: "@PJL SET HOLDKEY = <22>9531<220A>"
  182. *JCLHoldKey HoldKey9835/9835: "@PJL SET HOLDKEY = <22>9835<220A>"
  183. *JCLHoldKey HoldKey9890/9890: "@PJL SET HOLDKEY = <22>9890<220A>"
  184. *JCLHoldKey HoldKey9956/9956: "@PJL SET HOLDKEY = <22>9956<220A>"
  185. *JCLCloseUI: *JCLHoldKey
  186.  
  187. *%=== Resolution Enhancement  ===============
  188. *OpenUI *Smoothing/Resolution Enhancement: Boolean
  189. *OrderDependency: 20 DocumentSetup *Smoothing
  190. *DefaultSmoothing: True
  191. *Smoothing True/On: "
  192.   << /PostRenderingEnhance true /PostRenderingEnhanceDetails << /REValue 2 /Type 8 >>
  193.   >> setpagedevice"
  194. *End
  195. *Smoothing False/Off: "
  196.   << /PostRenderingEnhance true /PostRenderingEnhanceDetails << /REValue 0 /Type 8 >>
  197.   >> setpagedevice"
  198. *End
  199. *?Smoothing: "
  200.   save
  201.     currentpagedevice /PostRenderingEnhanceDetails get /REValue get
  202.     [(False) (True) (True) (True)]  exch get print
  203.   restore
  204. "
  205. *End
  206. *CloseUI: *Smoothing
  207.  
  208. *%=== JCL Features ==========================
  209. *JCLBegin:           "<1B>%-12345X@PJL JOB<0A>"
  210. *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = POSTSCRIPT <0A>"
  211. *JCLEnd:             "<1B>%-12345X@PJL EOJ<0A>"
  212.  
  213. *JCLOpenUI *JCLResolution/Resolution: PickOne
  214. *OrderDependency: 10 JCLSetup *JCLResolution
  215. *DefaultJCLResolution: 600dpi
  216. *JCLResolution 300dpi/300 dpi: "@PJL SET RESOLUTION = 300<0A>"
  217. *JCLResolution 600dpi/600 dpi: "@PJL SET RESOLUTION = 600<0A>"
  218. *JCLResolution 1200dpi/ProRes 1200: "@PJL SET RESOLUTION = 1200<0A>"
  219. *JCLCloseUI: *JCLResolution
  220.  
  221. *JCLOpenUI *JCLFastRes/FastRes 1200: Boolean
  222. *OrderDependency: 10 JCLSetup *JCLFastRes
  223. *DefaultJCLFastRes: True
  224. *JCLFastRes True/On: "@PJL SET BITSPERPIXEL = 2<0A>"
  225. *JCLFastRes False/Off: "@PJL SET BITSPERPIXEL = 1<0A>"
  226. *JCLCloseUI: *JCLFastRes
  227.  
  228. *JCLOpenUI *JCLEconomode/EconoMode: Boolean
  229. *OrderDependency: 10 JCLSetup *JCLEconomode
  230. *DefaultJCLEconomode: False
  231. *JCLEconomode False/Highest Quality: "@PJL SET ECONOMODE = OFF<0A>"
  232. *JCLEconomode True/Save Toner: "@PJL SET ECONOMODE = ON<0A>"
  233. *JCLCloseUI: *JCLEconomode
  234.  
  235. *%=== Installable Options ==========================
  236. *OpenGroup: InstallableOptions/Installed Options
  237.  
  238. *OpenUI *OptionTrays/Number of Input Trays: PickOne
  239. *DefaultOptionTrays: 2Trays
  240. *OptionTrays 2Trays/ 2: ""
  241. *OptionTrays 3Trays/ 3: ""
  242. *OptionTrays 4Trays/ 4: ""
  243. *OptionTrays 5Trays/ 5: ""
  244. *OptionTrays 6Trays/ 6: ""
  245. *OptionTrays 7Trays/ 7: ""
  246. *OptionTrays 8Trays/ 8: ""
  247. *OptionTrays 9Trays/ 9: ""
  248. *OptionTrays 10Trays/10: ""
  249. *CloseUI: *OptionTrays
  250.  
  251. *OpenUI *Option3/Duplex Unit: Boolean
  252. *DefaultOption3: False
  253. *Option3 True/Installed: ""
  254. *Option3 False/Not Installed: ""
  255. *?Option3: "
  256.   save
  257.     currentpagedevice /Duplex known
  258.     {(True)}{(False)}ifelse = flush
  259.   restore
  260. "
  261. *End
  262. *CloseUI: *Option3
  263.  
  264. *OpenUI *Option4/Printer Hard Disk: Boolean
  265. *DefaultOption4: False
  266. *Option4 True/Installed: "<</Collate true>> setpagedevice"
  267. *Option4 False/Not Installed: "<</Collate false>> setpagedevice"
  268. *?Option4: "
  269.   save 
  270.     false
  271.     (%disk?%)
  272.     { currentdevparams dup /Writeable known
  273.     { /Writeable get {pop true} if }  { pop } ifelse
  274.     } 100 string /IODevice resourceforall
  275.     {(True)}{(False)} ifelse = flush
  276.   restore
  277. "
  278. *End
  279. *CloseUI: *Option4
  280.  
  281. *OpenUI *Option5/Envelope Feeder: Boolean
  282. *DefaultOption5: False
  283. *Option5 True/Installed: ""
  284. *Option5 False/Not Installed: ""
  285. *?Option5: "
  286.   save
  287.     currentpagedevice /InputAttributes get
  288.     2 get 
  289.     null ne {(True)}{(False)} ifelse = flush
  290.   restore
  291. "
  292. *End 
  293. *CloseUI: *Option5
  294.  
  295. *OpenUI *InstalledMemory/Total Printer Memory: PickOne
  296. *DefaultInstalledMemory: 8MB
  297. *InstalledMemory 8MB/8 - 11 MB: ""
  298. *InstalledMemory 12-15MB/12 - 15 MB: ""
  299. *InstalledMemory 16-19MB/16 - 19 MB: ""
  300. *InstalledMemory 20MB/20 - 27 MB: ""
  301. *InstalledMemory 28MB/28 - 35 MB: ""
  302. *InstalledMemory 36MB/36 MB or more: ""
  303. *?InstalledMemory: "
  304.   save
  305.     currentsystemparams /RamSize get 
  306.     524288 div ceiling cvi 2 div
  307.     /size exch def
  308.     size 36 ge 
  309.       {(36MB)} 
  310.        {size 28 ge 
  311.           {(28MB)}
  312.           {size 20 ge
  313.              {(20MB)}
  314.              {size 12 ge
  315.                 {(12MB)}
  316.                 {size 8 ge
  317.                    {(8MB)}
  318.                    {(4MB)} ifelse
  319.              } ifelse
  320.           } ifelse
  321.        } ifelse
  322.     } ifelse = flush
  323.   restore
  324. "
  325. *End
  326. *CloseUI: *InstalledMemory
  327. *CloseGroup: InstallableOptions
  328.  
  329. *FreeVM: "6000000"
  330. *VMOption 8MB/8 - 11 MB: "6000000"
  331. *VMOption 12-15MB/12 - 15 MB: "9400000"
  332. *VMOption 16-19MB/16 - 19 MB: "13200000"
  333. *VMOption 20MB/20 - 27 MB: "17000000"
  334. *VMOption 28MB/28 - 35 MB: "24500000"
  335. *VMOption 36MB/36 MB or more: "32000000"
  336.  
  337. *%=== UI Constraints =============================
  338. *% If A than not B  (Also include the reverse constraints if appropriate)
  339. *%
  340. *% Enable only the number of input trays the user specified
  341. *UIConstraints: *OptionTrays 2Trays *InputSlot Lower
  342. *UIConstraints: *OptionTrays 2Trays *InputSlot LargeCapacity
  343. *UIConstraints: *OptionTrays 2Trays *InputSlot Tray5
  344. *UIConstraints: *OptionTrays 2Trays *InputSlot Tray6
  345. *UIConstraints: *OptionTrays 2Trays *InputSlot Tray7
  346. *UIConstraints: *OptionTrays 2Trays *InputSlot Tray8
  347. *UIConstraints: *OptionTrays 2Trays *InputSlot Tray9
  348. *UIConstraints: *OptionTrays 2Trays *InputSlot Tray10
  349.  
  350. *UIConstraints: *OptionTrays 3Trays *InputSlot LargeCapacity
  351. *UIConstraints: *OptionTrays 3Trays *InputSlot Tray5
  352. *UIConstraints: *OptionTrays 3Trays *InputSlot Tray6
  353. *UIConstraints: *OptionTrays 3Trays *InputSlot Tray7
  354. *UIConstraints: *OptionTrays 3Trays *InputSlot Tray8
  355. *UIConstraints: *OptionTrays 3Trays *InputSlot Tray9
  356. *UIConstraints: *OptionTrays 3Trays *InputSlot Tray10
  357.  
  358. *UIConstraints: *OptionTrays 4Trays *InputSlot Tray5
  359. *UIConstraints: *OptionTrays 4Trays *InputSlot Tray6
  360. *UIConstraints: *OptionTrays 4Trays *InputSlot Tray7
  361. *UIConstraints: *OptionTrays 4Trays *InputSlot Tray8
  362. *UIConstraints: *OptionTrays 4Trays *InputSlot Tray9
  363. *UIConstraints: *OptionTrays 4Trays *InputSlot Tray10
  364.  
  365. *UIConstraints: *OptionTrays 5Trays *InputSlot Tray6
  366. *UIConstraints: *OptionTrays 5Trays *InputSlot Tray7
  367. *UIConstraints: *OptionTrays 5Trays *InputSlot Tray8
  368. *UIConstraints: *OptionTrays 5Trays *InputSlot Tray9
  369. *UIConstraints: *OptionTrays 5Trays *InputSlot Tray10
  370.  
  371. *UIConstraints: *OptionTrays 6Trays *InputSlot Tray7
  372. *UIConstraints: *OptionTrays 6Trays *InputSlot Tray8
  373. *UIConstraints: *OptionTrays 6Trays *InputSlot Tray9
  374. *UIConstraints: *OptionTrays 6Trays *InputSlot Tray10
  375.  
  376. *UIConstraints: *OptionTrays 7Trays *InputSlot Tray8
  377. *UIConstraints: *OptionTrays 7Trays *InputSlot Tray9
  378. *UIConstraints: *OptionTrays 7Trays *InputSlot Tray10
  379.  
  380. *UIConstraints: *OptionTrays 8Trays *InputSlot Tray9
  381. *UIConstraints: *OptionTrays 8Trays *InputSlot Tray10
  382.  
  383. *UIConstraints: *OptionTrays 9Trays *InputSlot Tray10
  384.  
  385. *% If the duplexer is not installed disable duplex modes.
  386. *UIConstraints: *Option3 False *Duplex DuplexNoTumble
  387. *UIConstraints: *Option3 False *Duplex DuplexTumble
  388.  
  389. *% If the envelope feeder is not installed disable envelope slot.
  390. *UIConstraints: *Option5 False *InputSlot Envelope
  391.  
  392. *% Don't allow these paper sizes/types in the Envelope Feeder
  393. *UIConstraints: *PageSize Letter    *InputSlot Envelope
  394. *UIConstraints: *PageSize Executive *InputSlot Envelope
  395. *UIConstraints: *PageSize Legal     *InputSlot Envelope
  396. *UIConstraints: *PageSize A4        *InputSlot Envelope
  397. *UIConstraints: *PageSize A5        *InputSlot Envelope
  398. *UIConstraints: *PageSize B5        *InputSlot Envelope
  399. *UIConstraints: *PageSize w612h935  *InputSlot Envelope
  400. *UIConstraints: *PageSize w558h774  *InputSlot Envelope
  401.  
  402. *UIConstraints: *PageRegion Letter    *InputSlot Envelope
  403. *UIConstraints: *PageRegion Executive *InputSlot Envelope
  404. *UIConstraints: *PageRegion Legal     *InputSlot Envelope
  405. *UIConstraints: *PageRegion A4        *InputSlot Envelope
  406. *UIConstraints: *PageRegion A5        *InputSlot Envelope
  407. *UIConstraints: *PageRegion B5        *InputSlot Envelope
  408. *UIConstraints: *PageRegion w612h935  *InputSlot Envelope
  409. *UIConstraints: *PageRegion w558h774  *InputSlot Envelope
  410.  
  411. *% If selected page size is an envelope disable access to paper trays 2, 3 and 4
  412. *UIConstraints: *PageSize Env10       *InputSlot Middle
  413. *UIConstraints: *PageSize Env10       *InputSlot Lower
  414. *UIConstraints: *PageSize Env10       *InputSlot LargeCapacity
  415. *UIConstraints: *PageSize EnvMonarch  *InputSlot Middle
  416. *UIConstraints: *PageSize EnvMonarch  *InputSlot Lower
  417. *UIConstraints: *PageSize EnvMonarch  *InputSlot LargeCapacity
  418. *UIConstraints: *PageSize EnvDL       *InputSlot Middle
  419. *UIConstraints: *PageSize EnvDL       *InputSlot Lower
  420. *UIConstraints: *PageSize EnvDL       *InputSlot LargeCapacity
  421. *UIConstraints: *PageSize EnvC5       *InputSlot Middle
  422. *UIConstraints: *PageSize EnvC5       *InputSlot Lower
  423. *UIConstraints: *PageSize EnvC5       *InputSlot LargeCapacity
  424. *UIConstraints: *PageSize EnvISOB5    *InputSlot Middle
  425. *UIConstraints: *PageSize EnvISOB5    *InputSlot Lower
  426. *UIConstraints: *PageSize EnvISOB5    *InputSlot LargeCapacity
  427.  
  428. *% If selected page region is an envelope disable access to paper trays 2, 3 and 4
  429. *UIConstraints: *PageRegion Env10       *InputSlot Middle
  430. *UIConstraints: *PageRegion Env10       *InputSlot Lower
  431. *UIConstraints: *PageRegion Env10       *InputSlot LargeCapacity
  432. *UIConstraints: *PageRegion EnvMonarch  *InputSlot Middle
  433. *UIConstraints: *PageRegion EnvMonarch  *InputSlot Lower
  434. *UIConstraints: *PageRegion EnvMonarch  *InputSlot LargeCapacity
  435. *UIConstraints: *PageRegion EnvDL       *InputSlot Middle
  436. *UIConstraints: *PageRegion EnvDL       *InputSlot Lower
  437. *UIConstraints: *PageRegion EnvDL       *InputSlot LargeCapacity
  438. *UIConstraints: *PageRegion EnvC5       *InputSlot Middle
  439. *UIConstraints: *PageRegion EnvC5       *InputSlot Lower
  440. *UIConstraints: *PageRegion EnvC5       *InputSlot LargeCapacity
  441. *UIConstraints: *PageRegion EnvISOB5    *InputSlot Middle
  442. *UIConstraints: *PageRegion EnvISOB5    *InputSlot Lower
  443. *UIConstraints: *PageRegion EnvISOB5    *InputSlot LargeCapacity
  444.  
  445. *% Don't allow A5, envelopes, transparencies or labels to be duplexed
  446. *UIConstraints: *PageSize A5         *Duplex DuplexNoTumble
  447. *UIConstraints: *PageSize Env10      *Duplex DuplexNoTumble
  448. *UIConstraints: *PageSize EnvMonarch *Duplex DuplexNoTumble
  449. *UIConstraints: *PageSize EnvDL      *Duplex DuplexNoTumble
  450. *UIConstraints: *PageSize EnvC5      *Duplex DuplexNoTumble
  451. *UIConstraints: *PageSize EnvISOB5   *Duplex DuplexNoTumble
  452.  
  453. *UIConstraints: *MediaType Transparency *Duplex DuplexNoTumble
  454. *UIConstraints: *MediaType Labels       *Duplex DuplexNoTumble
  455.  
  456. *UIConstraints: *PageRegion A5         *Duplex DuplexNoTumble
  457. *UIConstraints: *PageRegion Env10      *Duplex DuplexNoTumble
  458. *UIConstraints: *PageRegion EnvMonarch *Duplex DuplexNoTumble
  459. *UIConstraints: *PageRegion EnvDL      *Duplex DuplexNoTumble
  460. *UIConstraints: *PageRegion EnvC5      *Duplex DuplexNoTumble
  461. *UIConstraints: *PageRegion EnvISOB5   *Duplex DuplexNoTumble
  462.  
  463. *UIConstraints: *PageSize A5         *Duplex DuplexTumble
  464. *UIConstraints: *PageSize Env10      *Duplex DuplexTumble
  465. *UIConstraints: *PageSize EnvMonarch *Duplex DuplexTumble
  466. *UIConstraints: *PageSize EnvDL      *Duplex DuplexTumble
  467. *UIConstraints: *PageSize EnvC5      *Duplex DuplexTumble
  468. *UIConstraints: *PageSize EnvISOB5   *Duplex DuplexTumble
  469.  
  470. *UIConstraints: *MediaType Transparency *Duplex DuplexTumble
  471. *UIConstraints: *MediaType Labels       *Duplex DuplexTumble
  472.  
  473. *UIConstraints: *PageRegion A5         *Duplex DuplexTumble
  474. *UIConstraints: *PageRegion Env10      *Duplex DuplexTumble
  475. *UIConstraints: *PageRegion EnvMonarch *Duplex DuplexTumble
  476. *UIConstraints: *PageRegion EnvDL      *Duplex DuplexTumble
  477. *UIConstraints: *PageRegion EnvC5      *Duplex DuplexTumble
  478. *UIConstraints: *PageRegion EnvISOB5   *Duplex DuplexTumble
  479.  
  480. *% Cannot duplex custom page sizes or feed from envelope tray
  481. *NonUIConstraints: *CustomPageSize True *Duplex DuplexNoTumble
  482. *NonUIConstraints: *CustomPageSize True *Duplex DuplexTumble
  483. *NonUIConstraints: *InputSlot Envelope  *CustomPageSize True
  484.  
  485. *%=== Paper Sizes =================
  486. *OpenUI *PageSize: PickOne
  487. *OrderDependency: 30 AnySetup *PageSize
  488. *DefaultPageSize: Letter
  489. *PageSize Letter/Letter: "
  490.   <</PageSize [612 792] /ImagingBBox null>> setpagedevice"
  491. *End
  492. *PageSize Executive/Executive: "
  493.   <</PageSize [522 756] /ImagingBBox null>> setpagedevice"
  494. *End
  495. *PageSize Legal/Legal: "
  496.   <</PageSize [612 1008] /ImagingBBox null>> setpagedevice"
  497. *End
  498. *PageSize A4/A4: "
  499.   <</PageSize [595 842] /ImagingBBox null>> setpagedevice"
  500. *End
  501. *PageSize A5/A5: "
  502.   <</PageSize [420 595] /ImagingBBox null>> setpagedevice"
  503. *End
  504. *PageSize B5/B5 (JIS): "
  505.   <</PageSize [516 729] /ImagingBBox null>> setpagedevice"
  506. *End
  507. *PageSize w612h935/Executive (JIS): "
  508.   <</PageSize [612 935] /ImagingBBox null>> setpagedevice"
  509. *End
  510. *PageSize w558h774/16K: "
  511.   <</PageSize [558 774] /ImagingBBox null>> setpagedevice"
  512. *End
  513. *PageSize Env10/Envelope #10: "
  514.   <</PageSize [297 684] /ImagingBBox null>> setpagedevice"
  515. *End
  516. *PageSize EnvMonarch/Envelope Monarch: "
  517.   <</PageSize [279 540] /ImagingBBox null>> setpagedevice"
  518. *End
  519. *PageSize EnvDL/Envelope DL: "
  520.   <</PageSize [312 624] /ImagingBBox null>> setpagedevice"
  521. *End
  522. *PageSize EnvC5/Envelope C5: "
  523.   <</PageSize [459 649] /ImagingBBox null>> setpagedevice"
  524. *End
  525. *PageSize EnvISOB5/Envelope B5: "
  526.   <</PageSize [499 709] /ImagingBBox null>> setpagedevice"
  527. *End
  528. *?PageSize: "
  529.    save
  530.    currentpagedevice /PageSize get aload pop
  531.    2 copy gt {exch} if 
  532.    (Unknown) 
  533.    13 dict
  534.    dup [612 792]  (Letter) put
  535.    dup [522 756]  (Executive) put
  536.    dup [612 1008] (Legal) put
  537.    dup [595 842]  (A4) put
  538.    dup [420 595]  (A5) put
  539.    dup [516 729]  (B5) put
  540.    dup [612 935]  (w612h935) put
  541.    dup [558 774]  (w558h774) put
  542.    dup [297 684]  (Env10) put
  543.    dup [279 540]  (EnvMonarch) put
  544.    dup [312 624]  (EnvDL) put
  545.    dup [459 649]  (EnvC5) put
  546.    dup [499 709]  (EnvISOB5) put
  547.    { exch aload pop 4 index sub abs 5 le exch 
  548.       5 index sub abs 5 le and 
  549.       {exch pop exit} {pop} ifelse
  550.    } bind forall
  551.    = flush pop pop
  552.    restore
  553. "
  554. *End
  555. *CloseUI: *PageSize
  556.  
  557. *OpenUI *PageRegion: PickOne
  558. *OrderDependency: 40 AnySetup *PageRegion
  559. *DefaultPageRegion: Letter
  560. *PageRegion Letter/Letter: "
  561.   <</PageSize [612 792] /ImagingBBox null>> setpagedevice"
  562. *End
  563. *PageRegion Executive/Executive: "
  564.   <</PageSize [522 756] /ImagingBBox null>> setpagedevice"
  565. *End
  566. *PageRegion Legal/Legal: "
  567.   <</PageSize [612 1008] /ImagingBBox null>> setpagedevice"
  568. *End
  569. *PageRegion A4/A4: "
  570.   <</PageSize [595 842] /ImagingBBox null>> setpagedevice"
  571. *End
  572. *PageRegion A5/A5: "
  573.   <</PageSize [420 595] /ImagingBBox null>> setpagedevice"
  574. *End
  575. *PageRegion B5/B5 (JIS): "
  576.   <</PageSize [516 729] /ImagingBBox null>> setpagedevice"
  577. *End
  578. *PageRegion w612h935/Executive (JIS): "
  579.   <</PageSize [612 935] /ImagingBBox null>> setpagedevice"
  580. *End
  581. *PageRegion w558h774/16K: "
  582.   <</PageSize [558 774] /ImagingBBox null>> setpagedevice"
  583. *End
  584. *PageRegion Env10/Envelope #10: "
  585.   <</PageSize [297 684] /ImagingBBox null>> setpagedevice"
  586. *End
  587. *PageRegion EnvMonarch/Envelope Monarch: "
  588.   <</PageSize [279 540] /ImagingBBox null>> setpagedevice"
  589. *End
  590. *PageRegion EnvDL/Envelope DL: "
  591.   <</PageSize [312 624] /ImagingBBox null>> setpagedevice"
  592. *End
  593. *PageRegion EnvC5/Envelope C5: "
  594.   <</PageSize [459 649] /ImagingBBox null>> setpagedevice"
  595. *End
  596. *PageRegion EnvISOB5/Envelope B5: "
  597.   <</PageSize [499 709] /ImagingBBox null>> setpagedevice"
  598. *End
  599. *CloseUI: *PageRegion
  600.  
  601. *DefaultImageableArea: Letter
  602. *ImageableArea Letter/Letter: "12.00 12.00 599.76 779.76"
  603. *ImageableArea Executive/Executive: "12.00 12.00 509.76 743.76"
  604. *ImageableArea Legal/Legal: "12.00 12.00 599.76 995.76"
  605. *ImageableArea A4/A4: "12.00 12.00 582.96 829.44"
  606. *ImageableArea A5/A5: "12.00 12.00 407.28 582.96"
  607. *ImageableArea B5/B5 (JIS): "12.00 12.00 503.52 716.16"
  608. *ImageableArea w612h935/Executive (JIS): "12.00 12.00 599.76 922.76"
  609. *ImageableArea w558h774/16K: "12.00 12.00 545.76 761.76"
  610. *ImageableArea Env10/Envelope #10: "12.00 12.00 284.64 671.76"
  611. *ImageableArea EnvMonarch/Envelope Monarch: "12.00 12.00 266.64 527.76"
  612. *ImageableArea EnvDL/Envelope DL: "12.00 12.00 299.52 611.28"
  613. *ImageableArea EnvC5/Envelope C5: "12.00 12.00 446.88 636.72"
  614. *ImageableArea EnvISOB5/Envelope B5: "12.00 12.00 486.48 696.24"
  615. *?ImageableArea: "
  616.    save
  617.    /cvp { (                ) cvs print ( ) print } bind def
  618.    /upperright {10000 mul floor 10000 div} bind def
  619.    /lowerleft {10000 mul ceiling 10000 div} bind def
  620.    newpath clippath pathbbox
  621.    4 -2 roll exch 2 {lowerleft cvp} repeat
  622.    exch 2 {upperright cvp} repeat flush
  623.    restore
  624. "
  625. *End
  626.  
  627. *DefaultPaperDimension: Letter 
  628. *PaperDimension Letter/Letter: "612 792"
  629. *PaperDimension Executive/Executive: "522 756"
  630. *PaperDimension Legal/Legal: "612 1008"
  631. *PaperDimension A4/A4: "595 842"
  632. *PaperDimension A5/A5: "420 595"
  633. *PaperDimension B5/B5 (JIS): "516 729"
  634. *PaperDimension w612h935/Executive (JIS): "612 935"
  635. *PaperDimension w558h774/16K: "558 774"
  636. *PaperDimension Env10/Envelope #10: "297 684"
  637. *PaperDimension EnvMonarch/Envelope Monarch: "279 540"
  638. *PaperDimension EnvDL/Envelope DL: "312 624"
  639. *PaperDimension EnvC5/Envelope C5: "459 649"
  640. *PaperDimension EnvISOB5/Envelope B5: "499 709"
  641.  
  642. *LandscapeOrientation: Plus90
  643.  
  644. *%=== Custom Paper Support =================
  645. *%Orientation and Margin (offsets) values are not utilized
  646.  
  647. *VariablePaperSize: True
  648.  
  649. *LeadingEdge Short: ""
  650. *DefaultLeadingEdge: Short
  651.  
  652. *% Smallest = 3x5, Largest = 8.5 x 14
  653. *MaxMediaWidth:  "612"
  654. *MaxMediaHeight: "1008"
  655. *HWMargins:      12 12 12 12
  656. *CustomPageSize True: "
  657.   pop pop pop 
  658.   <</DeferredMediaSelection true /PageSize [ 7 -2 roll ] /ImagingBBox null >>
  659.   setpagedevice
  660. "
  661. *End
  662.  
  663. *ParamCustomPageSize Width:        1 points 216 612
  664. *ParamCustomPageSize Height:       2 points 360 1008
  665. *ParamCustomPageSize WidthOffset:  3 points 0 0
  666. *ParamCustomPageSize HeightOffset: 4 points 0 0
  667. *ParamCustomPageSize Orientation:  5 int 1 1
  668.  
  669. *RequiresPageRegion All: True
  670.  
  671. *%=== Paper Sources ====================
  672. *OpenUI *InputSlot: PickOne
  673. *OrderDependency: 20 AnySetup *InputSlot
  674. *DefaultInputSlot: Middle
  675. *InputSlot Upper/Tray 1: "<</ManualFeed false /MediaPosition 3>> setpagedevice"
  676. *InputSlot ManualFeed/Tray 1 (Manual): "<</ManualFeed true /MediaPosition 3>> setpagedevice"
  677. *InputSlot Middle/Tray 2: "<</ManualFeed false /MediaPosition 0>> setpagedevice"
  678. *InputSlot Lower/Tray 3: "currentpagedevice /InputAttributes get 1 known
  679.   {<</ManualFeed false /MediaPosition 1>> setpagedevice}
  680.   {currentpagedevice /InputAttributes get 5 known
  681.     {<</ManualFeed false /MediaPosition 5>> setpagedevice}if}ifelse"
  682. *End
  683. *InputSlot LargeCapacity/Tray 4: "
  684. currentpagedevice /InputAttributes get 4 known
  685.   {<</ManualFeed false /MediaPosition 4>> setpagedevice}
  686.   {currentpagedevice /InputAttributes get 1 known
  687.     {<</ManualFeed false /MediaPosition 5>> setpagedevice}
  688.     {<</ManualFeed false /MediaPosition 6>> setpagedevice}ifelse}ifelse"
  689. *End
  690. *InputSlot Tray5/Tray 5: "
  691. currentpagedevice /InputAttributes get 1 known
  692.   {<</ManualFeed false /MediaPosition 6>> setpagedevice}
  693.   {<</ManualFeed false /MediaPosition 7>> setpagedevice}ifelse"
  694. *End
  695. *InputSlot Tray6/Tray 6: "
  696. currentpagedevice /InputAttributes get 1 known
  697.   {<</ManualFeed false /MediaPosition 7>> setpagedevice}
  698.   {<</ManualFeed false /MediaPosition 8>> setpagedevice}ifelse"
  699. *End
  700. *InputSlot Tray7/Tray 7: "
  701. currentpagedevice /InputAttributes get 1 known
  702.   {<</ManualFeed false /MediaPosition 8>> setpagedevice}
  703.   {<</ManualFeed false /MediaPosition 9>> setpagedevice}ifelse"
  704. *End
  705. *InputSlot Tray8/Tray 8: "
  706. currentpagedevice /InputAttributes get 1 known
  707.   {<</ManualFeed false /MediaPosition 9>> setpagedevice}
  708.   {<</ManualFeed false /MediaPosition 10>> setpagedevice}ifelse"
  709. *End
  710. *InputSlot Tray9/Tray 9: "
  711. currentpagedevice /InputAttributes get 1 known
  712.   {<</ManualFeed false /MediaPosition 10>> setpagedevice}
  713.   {<</ManualFeed false /MediaPosition 11>> setpagedevice}ifelse"
  714. *End
  715. *InputSlot Tray10/Tray 10: "
  716. currentpagedevice /InputAttributes get 1 known
  717.   {<</ManualFeed false /MediaPosition 11>> setpagedevice}
  718.   {<</ManualFeed false /MediaPosition 12>> setpagedevice}ifelse"
  719. *End
  720. *InputSlot Envelope/Envelope Feeder: "<</ManualFeed false /MediaPosition 2>> setpagedevice"
  721. *?InputSlot: "
  722.  save
  723.    save
  724.       currentpagedevice /InputAttributes get /Priority get
  725.       aload pop pop pop pop
  726.       [(Middle) (Lower) (Envelope) (Upper) (Unknown) (LargeCapacity) (Tray5) (Tray6) (Tray7) (Tray8) (Tray9) (Tray10)]
  727.       exch get = flush
  728.    restore
  729. "
  730. *End
  731. *CloseUI: *InputSlot
  732.  
  733. *%=== Media Type ===========================
  734. *OpenUI *MediaType/Media Type: PickOne
  735. *OrderDependency: 50 AnySetup *MediaType
  736. *DefaultMediaType: None
  737. *MediaType None/None: ""
  738. *MediaType Plain/Plain: "<</MediaType (Plain)>> setpagedevice"
  739. *MediaType Preprinted/Preprinted: "<</MediaType (Preprinted)>> setpagedevice"
  740. *MediaType Letterhead/Letterhead: "<</MediaType (Letterhead)>> setpagedevice"
  741. *MediaType Transparency/Transparency: "<</MediaType (Transparency)>> setpagedevice"
  742. *MediaType Prepunched/Prepunched: "<</MediaType (Prepunched)>> setpagedevice"
  743. *MediaType Labels/Labels: "<</MediaType (Labels)>> setpagedevice"
  744. *MediaType Bond/Bond: "<</MediaType (Bond)>> setpagedevice"
  745. *MediaType Recycled/Recycled: "<</MediaType (Recycled)>> setpagedevice"
  746. *MediaType Color/Color: "<</MediaType (Color)>> setpagedevice"
  747. *MediaType Cardstock/Card Stock: "<</MediaType (Card Stock)>> setpagedevice"
  748. *MediaType Rough/Rough: "<</MediaType (Rough)>> setpagedevice"
  749. *?MediaType: "
  750.   save
  751.     currentpagedevice /InputAttributes get dup
  752.     /Priority get
  753.     0 get get
  754.     /MediaType get
  755.     (Rough) anchorsearch
  756.       {pop pop (Rough)} if  
  757.     = flush
  758.   restore
  759. "
  760. *End
  761. *CloseUI: *MediaType
  762.  
  763. *%=== Fit to Page =========================
  764. *OpenUI *HPPaperPolicy/Fit to Page: PickOne
  765. *OrderDependency: 10 AnySetup *HPPaperPolicy
  766. *DefaultHPPaperPolicy: PromptUser
  767. *HPPaperPolicy PromptUser/Prompt User: "
  768.    <</DeferredMediaSelection true>> setpagedevice"
  769. *End
  770. *HPPaperPolicy NearestSizeAdjust/Nearest Size and Scale: "
  771.    <</DeferredMediaSelection false /Policies << /PageSize 3 >> >> setpagedevice"
  772. *End
  773. *HPPaperPolicy NearestSizeNoAdjust/Nearest Size and Crop: "
  774.    <</DeferredMediaSelection false /Policies << /PageSize 5 >> >> setpagedevice"
  775. *End
  776. *HPPaperPolicy Letter/Letter: "
  777. userdict begin
  778.   /HPppX1 0 def
  779.   /HPppY1 0 def
  780.   /HPppScale 1 def
  781.  
  782.   <</DeferredMediaSelection true
  783.     /BeginPage {pop userdict begin HPppX1 HPppY1 translate HPppScale HPppScale scale end} bind>> setpagedevice
  784.  
  785.   /HPwmSPD {setpagedevice} bind def
  786.   /setpagedevice {userdict begin dup /PageSize known {/HPwmPgWidth exch /PageSize get aload pop /HPwmPgHeight exch def def
  787.       /HPppScale 612 HPwmPgWidth div dup 792 HPwmPgHeight div dup 3 1 roll lt {pop} {exch pop} ifelse def
  788.       HPppScale 1 gt {/HPppScale 1 def}if
  789.       /HPppX1 612 HPwmPgWidth HPppScale mul sub 2 div def
  790.       /HPppY1 792 HPwmPgHeight HPppScale mul sub 2 div def
  791.       <</PageSize [612 792] /ImagingBBox null>> setpagedevice}{setpagedevice}ifelse end} bind def
  792. end"
  793. *End
  794. *HPPaperPolicy A4/A4: "
  795. userdict begin
  796.   /HPppX1 0 def
  797.   /HPppY1 0 def
  798.   /HPppScale 1 def
  799.  
  800.   <</DeferredMediaSelection true
  801.     /BeginPage {pop userdict begin HPppX1 HPppY1 translate HPppScale HPppScale scale end} bind>> setpagedevice
  802.  
  803.   /HPwmSPD {setpagedevice} bind def
  804.   /setpagedevice {userdict begin dup /PageSize known {/HPwmPgWidth exch /PageSize get aload pop /HPwmPgHeight exch def def
  805.       /HPppScale 595 HPwmPgWidth div dup 842 HPwmPgHeight div dup 3 1 roll lt {pop} {exch pop} ifelse def
  806.       HPppScale 1 gt {/HPppScale 1 def}if
  807.       /HPppX1 595 HPwmPgWidth HPppScale mul sub 2 div def
  808.       /HPppY1 842 HPwmPgHeight HPppScale mul sub 2 div def
  809.       <</PageSize [595 842] /ImagingBBox null>> setpagedevice}{setpagedevice}ifelse end} bind def
  810. end"
  811. *End
  812. *CloseUI: *HPPaperPolicy
  813.  
  814. *%=== Halftone Information =================
  815. *ScreenFreq:  "106.0"
  816. *ScreenAngle: "45.0"
  817.  
  818. *ResScreenFreq 300dpi/300 dpi:  "60.0"
  819. *ResScreenAngle 300dpi/300 dpi: "45.0"
  820. *ResScreenFreq 600dpi/600 dpi:  "106.0"
  821. *ResScreenAngle 600dpi/600 dpi: "45.0"
  822. *ResScreenFreq 1200dpi/1200 dpi:  "180.0"
  823. *ResScreenAngle 1200dpi/1200 dpi: "45.0"
  824.  
  825. *DefaultScreenProc: Dot
  826. *ScreenProc HPEnhanced: "
  827.   { /EnhancedHalftone /Halftone findresource }"
  828. *End
  829. *ScreenProc Dot: "
  830. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  831. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  832. "
  833. *End
  834. *ScreenProc Line: "{ pop }"
  835. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  836.  
  837. *DefaultTransfer: Null
  838. *Transfer Null: "{ }"
  839. *Transfer Null.Inverse: "{ 1 exch sub }"
  840.  
  841. *DefaultHalftoneType:    9
  842. *AccurateScreensSupport: False
  843.  
  844. *OpenUI *HPHalftone/Levels of Gray: PickOne
  845. *OrderDependency: 10 DocumentSetup *HPHalftone
  846. *DefaultHPHalftone: PrinterDefault
  847. *HPHalftone PrinterDefault/Printer's Current Setting: ""
  848. *HPHalftone Enhanced/Enhanced: "
  849.    << /Install {
  850.      currentpagedevice /HWResolution get
  851.      dup 0 get 600 eq exch 1 get 600 eq and
  852.      { /EnhancedColorRendering600 } { /EnhancedColorRendering } ifelse
  853.      /ColorRendering findresource setcolorrendering
  854.      /EnhancedHalftone /Halftone findresource sethalftone
  855.      { } settransfer false setstrokeadjust
  856.    }
  857.    >> setpagedevice
  858.    currentpagedevice /HWResolution get dup 0 get 600 eq exch 1 get 600 eq and
  859.    {
  860.        << /PostRenderingEnhance true
  861.             /PostRenderingEnhanceDetails << /REValue 0 /Type 8 >>
  862.        >> setpagedevice
  863.    } if
  864.    /setscreen { pop pop pop } def
  865.    /setcolorscreen { pop pop pop pop pop pop pop pop pop pop pop pop } def
  866.    /sethalftone { pop } def 
  867. "
  868. *End
  869. *HPHalftone Standard/Standard: "
  870.    << /Install {
  871.      currentpagedevice /HWResolution get
  872.      dup 0 get 600 eq exch 1 get 600 eq and dup
  873.      currentpagedevice /PostRenderingEnhance get
  874.      currentpagedevice /PostRenderingEnhanceDetails get /REValue get 0 ne and
  875.      { {/DefaultColorRenderingRE600} {/DefaultColorRenderingRE} ifelse}
  876.      { {/DefaultColorRendering600} {/DefaultColorRendering} ifelse} ifelse
  877.      /ColorRendering findresource setcolorrendering
  878.      { /DefaultHalftone600 } {/DefaultHalftone} ifelse
  879.      /Halftone findresource sethalftone
  880.      {} settransfer false setstrokeadjust
  881.    } >> setpagedevice
  882.    currentpagedevice /HWResolution get dup 0 get 600 eq exch 1 get 600 eq and
  883.    {
  884.      << /PostRenderingEnhance true /PostRenderingEnhanceDetails
  885.      << /REValue 0 /Type 8 >> >> setpagedevice
  886.    } if
  887. "
  888. *End
  889. *?HPHalftone: "
  890.    save
  891.       currenthalftone /HalftoneType get 9 eq 
  892.      {(Enhanced)} {(Standard)} ifelse = flush
  893.    restore
  894. "
  895. *End
  896. *CloseUI: *HPHalftone
  897.  
  898. *%=== Color Control ========================
  899. *DefaultColorSep: ProcessBlack.106lpi.600dpi/106 lpi / 600 dpi
  900.  
  901. *InkName: ProcessBlack/Process Black
  902. *InkName: CustomColor/Custom Color
  903. *InkName: ProcessCyan/Process Cyan
  904. *InkName: ProcessMagenta/Process Magenta
  905. *InkName: ProcessYellow/Process Yellow
  906.  
  907. *%  For 60 lpi / 300 dpi  =========================
  908. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  909. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  910. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  911. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  912. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  913.  
  914. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  915. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  916. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  917. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  918. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  919.  
  920. *%  For 85 lpi / 600 dpi  (5,5,2,6,6,2,20/3,0) ====
  921. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  922. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  923. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  924. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  925. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  926.  
  927. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  928. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  929. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  930. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  931. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  932. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  933. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  934. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  935. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  936. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  937. *End
  938.  
  939. *%  For 106 lpi / 300 dpi  =========================
  940. *ColorSepScreenAngle ProcessBlack.106lpi.300dpi/106 lpi / 300 dpi: "45.0"
  941. *ColorSepScreenAngle CustomColor.106lpi.300dpi/106 lpi / 300 dpi: "45.0"
  942. *ColorSepScreenAngle ProcessCyan.106lpi.300dpi/106 lpi / 300 dpi: "71.5651"
  943. *ColorSepScreenAngle ProcessMagenta.106lpi.300dpi/106 lpi / 300 dpi: "18.4349"
  944. *ColorSepScreenAngle ProcessYellow.106lpi.300dpi/106 lpi / 300 dpi: "0.0"
  945.      
  946. *ColorSepScreenFreq ProcessBlack.106lpi.300dpi/106 lpi / 300 dpi: "106.066"
  947. *ColorSepScreenFreq CustomColor.106lpi.300dpi/106 lpi / 300 dpi: "106.066"
  948. *ColorSepScreenFreq ProcessCyan.106lpi.300dpi/106 lpi / 300 dpi: "94.8683"
  949. *ColorSepScreenFreq ProcessMagenta.106lpi.300dpi/106 lpi / 300 dpi: "94.8683"
  950. *ColorSepScreenFreq ProcessYellow.106lpi.300dpi/106 lpi / 300 dpi: "100.0"
  951.  
  952. *%  For 106 lpi / 600 dpi  =========================
  953. *ColorSepScreenAngle ProcessBlack.106lpi.600dpi/106 lpi / 600 dpi: "45.0"
  954. *ColorSepScreenAngle CustomColor.106lpi.600dpi/106 lpi / 600 dpi: "45.0"
  955. *ColorSepScreenAngle ProcessCyan.106lpi.600dpi/106 lpi / 600 dpi: "71.5651"
  956. *ColorSepScreenAngle ProcessMagenta.106lpi.600dpi/106 lpi / 600 dpi: "18.4349"
  957. *ColorSepScreenAngle ProcessYellow.106lpi.600dpi/106 lpi / 600 dpi: "0.0"
  958.      
  959. *ColorSepScreenFreq ProcessBlack.106lpi.600dpi/106 lpi / 600 dpi: "106.066"
  960. *ColorSepScreenFreq CustomColor.106lpi.600dpi/106 lpi / 600 dpi: "106.066"
  961. *ColorSepScreenFreq ProcessCyan.106lpi.600dpi/106 lpi / 600 dpi: "94.8683"
  962. *ColorSepScreenFreq ProcessMagenta.106lpi.600dpi/106 lpi / 600 dpi: "94.8683"
  963. *ColorSepScreenFreq ProcessYellow.106lpi.600dpi/106 lpi / 600 dpi: "100.0"
  964.  
  965. *%  For 180 lpi / 1200 dpi  =========================
  966. *ColorSepScreenAngle ProcessBlack.180lpi.1200dpi/180 lpi / 1200 dpi: "45.0"
  967. *ColorSepScreenAngle CustomColor.180lpi.1200dpi/180 lpi / 1200 dpi: "45.0"
  968. *ColorSepScreenAngle ProcessCyan.180lpi.1200dpi/180 lpi / 1200 dpi: "71.5651"
  969. *ColorSepScreenAngle ProcessMagenta.180lpi.1200dpi/180 lpi / 1200 dpi: "18.4349"
  970. *ColorSepScreenAngle ProcessYellow.180lpi.1200dpi/180 lpi / 1200 dpi: "0.0"
  971.      
  972. *ColorSepScreenFreq ProcessBlack.180lpi.1200dpi/180 lpi / 1200 dpi: "180"
  973. *ColorSepScreenFreq CustomColor.180lpi.1200dpi/180 lpi / 1200 dpi: "180"
  974. *ColorSepScreenFreq ProcessCyan.180lpi.1200dpi/180 lpi / 1200 dpi: "161"
  975. *ColorSepScreenFreq ProcessMagenta.180lpi.1200dpi/180 lpi / 1200 dpi: "161"
  976. *ColorSepScreenFreq ProcessYellow.180lpi.1200dpi/180 lpi / 1200 dpi: "170"
  977.  
  978. *%=== Duplex ====================================
  979. *OpenUI *Duplex/Duplex:  PickOne
  980. *OrderDependency: 50 AnySetup *Duplex
  981. *DefaultDuplex: None
  982. *Duplex None/Off (1-Sided): "
  983.   <</Duplex false>> setpagedevice"
  984. *End
  985. *Duplex DuplexNoTumble/Flip on Long Edge (Standard): "
  986.   <</Duplex true /Tumble false>> setpagedevice"
  987. *End
  988. *Duplex DuplexTumble/Flip on Short Edge: "
  989.   <</Duplex true /Tumble true>> setpagedevice"
  990. *End
  991. *?Duplex: "
  992.    save
  993.    currentpagedevice /Duplex known
  994.    false ne
  995.      { currentpagedevice /Duplex get
  996.         { currentpagedevice /Tumble get
  997.             {(DuplexTumble)}{(DuplexNoTumble)}ifelse
  998.         } { (None)}    ifelse 
  999.      }{(None)}  ifelse = flush
  1000.    restore
  1001. "
  1002. *End 
  1003. *CloseUI: *Duplex
  1004.  
  1005. *%=== Font Information =====================
  1006. *DefaultFont: Courier
  1007. *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
  1008. *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
  1009. *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
  1010. *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
  1011. *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
  1012. *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
  1013. *Font Bookman-Light: Standard "(001.004S)" Standard ROM
  1014. *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
  1015. *Font Courier: Standard "(002.004S)" Standard ROM
  1016. *Font Courier-Bold: Standard "(002.004S)" Standard ROM
  1017. *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
  1018. *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
  1019. *Font Helvetica: Standard "(001.006S)" Standard ROM
  1020. *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
  1021. *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
  1022. *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
  1023. *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
  1024. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
  1025. *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
  1026. *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
  1027. *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
  1028. *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
  1029. *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
  1030. *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
  1031. *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
  1032. *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
  1033. *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
  1034. *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
  1035. *Font Symbol: Special "(001.007S)" Special ROM
  1036. *Font Times-Bold: Standard "(001.007S)" Standard ROM
  1037. *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
  1038. *Font Times-Italic: Standard "(001.007S)" Standard ROM
  1039. *Font Times-Roman: Standard "(001.007S)" Standard ROM
  1040. *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
  1041. *Font ZapfDingbats: Special "(001.004S)" Special ROM
  1042. *?FontQuery: "
  1043.    save
  1044.    { count 1 gt
  1045.       { exch dup 127 string cvs (/) print print (:) print
  1046.       /Font resourcestatus {pop pop (Yes)} {(No)} ifelse =
  1047.       } { exit } ifelse
  1048.    } bind loop
  1049.    (*) = flush
  1050.    restore
  1051. "
  1052. *End
  1053.  
  1054. *?FontList: "
  1055.    save
  1056.      (*) {cvn ==} 128 string /Font resourceforall
  1057.      (*) = flush
  1058.    restore
  1059. "
  1060. *End
  1061.  
  1062. *%=== Printer Messages (verbatim from printer): ================
  1063. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  1064. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  1065. *Message: "\FontName\ not found, using Courier"
  1066.  
  1067. *% Status (format: %%[ status: <one of these> ] %%)
  1068. *Status: "warming up"/warming up
  1069. *Status: "idle"/idle
  1070. *Status: "busy"/busy
  1071. *Status: "waiting"/waiting
  1072. *Status: "printing"/printing
  1073. *Status: "initializing"/initializing
  1074. *Status: "printing test page"/printing test page
  1075. *Status: "PrinterError: cover open or no toner cartridge"/cover open or no toner cartridge
  1076. *Status: "PrinterError: cover open"/cover open
  1077. *Status: "PrinterError: needs attention"/needs attention
  1078. *Status: "PrinterError: no toner cartridge"/no toner cartridge
  1079. *Status: "PrinterError: warming up"/warming up
  1080. *Status: "PrinterError: manual feed"/manual feed
  1081. *Status: "PrinterError: out of paper"/out of paper
  1082. *Status: "PrinterError: Paper Jam"/Paper Jam
  1083. *Status: "PrinterError: paper jam"/paper jam
  1084. *Status: "PrinterError: page protect needed"/page protect needed
  1085. *Status: "PrinterError: out of memory"/out of memory
  1086. *Status: "PrinterError: output bin full"/output bin full
  1087. *Status: "PrinterError: resetting printer"/resetting printer
  1088. *Status: "PrinterError: toner is low"/toner is low
  1089. *Status: "PrinterError: off line"/off line
  1090.  
  1091. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  1092. *PrinterError: "cover open or no toner cartridge"/cover open or no toner cartridge
  1093. *PrinterError: "cover open"/cover open
  1094. *PrinterError: "needs attention"/needs attention
  1095. *PrinterError: "no toner cartridge"/no toner cartridge
  1096. *PrinterError: "warming up"/warming up
  1097. *PrinterError: "manual feed"/manual feed
  1098. *PrinterError: "out of paper"/out of paper
  1099. *PrinterError: "Paper Jam"/Paper Jam
  1100. *PrinterError: "paper jam"/paper jam
  1101. *PrinterError: "page protect needed"/page protect needed
  1102. *PrinterError: "out of memory"/out of memory
  1103. *PrinterError: "output bin full"/output bin full
  1104. *PrinterError: "resetting printer"/resetting printer
  1105. *PrinterError: "toner is low"/toner is low
  1106. *PrinterError: "off line"/off line
  1107.  
  1108. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  1109. *Source: "BiTronics"/BiTronics
  1110. *Source: "other I/O"/other I/O
  1111. *Source: "AppleTalk"/AppleTalk
  1112. *Source: "APPLETALK"/AppleTalk
  1113. *Source: "ATALK"/AppleTalk
  1114. *Source: "LocalTalk"/LocalTalk
  1115. *Source: "Parallel"/Parallel
  1116. *Source: "EtherTalk"/EtherTalk
  1117. *Source: "NOVELL"/NOVELL
  1118. *Source: "DLC/LLC"/DLC/LLC
  1119. *Source: "ETALK"/EtherTalk
  1120. *Source: "TCP/IP"/TCP/IP
  1121.  
  1122. *Password: "()"
  1123. *ExitServer: "
  1124.  count 0 eq
  1125.  { false } { true exch startjob } ifelse
  1126.  not {
  1127.      (WARNING: Cannot modify initial VM.) =
  1128.      (Missing or invalid password.) =
  1129.      (Please contact the author of this software.) = flush quit
  1130.      } if
  1131. "
  1132. *End
  1133. *Reset: "
  1134.   count 0 eq { false } { true exch startjob } ifelse
  1135.   not {
  1136.     (WARNING: Cannot reset printer.) =
  1137.     (Missing or invalid password.) =
  1138.     (Please contact the author of this software.) = flush quit
  1139.     } if
  1140.   systemdict /quit get exec
  1141.   (WARNING : Printer Reset Failed.) = flush
  1142. "
  1143. *End
  1144.  
  1145. *% =======================================
  1146. *% For "HP LaserJet 4050 Series" version 2014.108
  1147. *% =======================================
  1148.